<#macro uploadFileBase>

    <script src="${basepath}/resource/file-upload/vendor/jquery.ui.widget.js"></script>
    <!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
    <script src="${basepath}/resource/file-upload/jquery.iframe-transport.js"></script>
    <!-- The basic File Upload plugin -->
    <script src="${basepath}/resource/file-upload/jquery.fileupload.js"></script>
    <!-- The File Upload user interface plugin -->
    <script src="${basepath}/resource/file-upload/jquery.fileupload-ui.js"></script>
    <!-- The Load Image plugin is included for the preview images and image resizing functionality -->
    <script src="${basepath}/resource/file-upload/load-image.all.min.js"></script>
    <!-- The Canvas to Blob plugin is included for image resizing functionality -->
    <script src="${basepath}/resource/file-upload/canvas-to-blob.min.js"></script>
    <!-- The File Upload processing plugin -->
    <script src="${basepath}/resource/file-upload/jquery.fileupload-process.js"></script>
    <!-- The File Upload image preview & resize plugin -->
    <script src="${basepath}/resource/file-upload/jquery.fileupload-image.js"></script>
    <!-- The File Upload audio preview plugin -->
    <script src="${basepath}/resource/file-upload/jquery.fileupload-audio.js"></script>
    <!-- The File Upload video preview plugin -->
    <script src="${basepath}/resource/file-upload/jquery.fileupload-video.js"></script>
    <!-- The File Upload validation plugin -->
    <script src="${basepath}/resource/file-upload/jquery.fileupload-validate.js"></script>
    <script src="${basepath}/resource/file-upload/imgUpload.js"></script>
    <link rel="stylesheet"
          href="${basepath}/resource/file-upload/css/jquery.fileupload-ui.css">
    <link rel="stylesheet" href="${basepath}/resource/file-upload/css/jquery.fileupload.css">
    <link rel="stylesheet"
      href="${basepath}/resource/file-upload/css/style.css">
    <!-- CSS adjustments for browsers with JavaScript disabled -->
    <noscript>
        <link rel="stylesheet"
              href="${basepath}/resource/file-upload/css/jquery.fileupload-ui-noscript.css">
    </noscript>

</#macro>
